package xyz.xtt.asset.vo;

import java.util.concurrent.ThreadLocalRandom;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GmtParmsRequestVo {
	private String type;
	private Long user_id;
	private Integer cfg_id;
	private Integer nft_seq;

	public static GmtParmsRequestVo buildAddnft(Integer cfgId, Long uid) {
		int nextInt = ThreadLocalRandom.current().nextInt();
		return GmtParmsRequestVo.builder().type("add_nft").user_id(uid).cfg_id(cfgId).nft_seq(nextInt).build();
	}
}
